package com.eco.fanliapp.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.eco.fanliapp.entity.SyLabelGoods;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 商品标签对照表  Mapper 接口
 * </p>
 */
public interface SyLabelGoodsMapper extends BaseMapper<SyLabelGoods> {
    int deleteByLableCode(String labelCode);

    int deleteByItemIds(String[] ids);

    SyLabelGoods selectGoodsLabel(@Param("itemId") String itemid, @Param("activityType") String activityType);

    List<SyLabelGoods> findGoodsLabel(@Param("itemId") String itemid);
    List<String>  findByLabelCode(String labelCode);
}
